import { AxiosResponse } from 'axios'
import $axios, { Result } from '@/plugins/axios'
import { PageParam } from '@/type'

/**
 * 分页查询操作日志
 * @param param 查询参数
 */
export async function getLogByPage(
  param: PageParam,
): Promise<AxiosResponse<Result>> {
  return await $axios.post('/supervision-api/log/getLogByPage', param)
}
